
package com.be.beadmin.service.repository;

import com.be.beadmin.service.entity.Dictionary;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author chenwei
* @date 2023-02-02
**/
public interface DictionaryRepository extends JpaRepository<Dictionary, String>, JpaSpecificationExecutor<Dictionary> {

    Dictionary findDictionaryByIdAndDelete(String id, Integer delete);

    Dictionary findDictionaryById(String id);

}